let list = [{name: 'wsj'}, {name: 'wcx'}]

console.log(list.map(item => ({
  name: item.name
})))

a = null
let p = new Promise((resolve) => {
  a = resolve
}).then(() => {
  console.log('cnm')
})

a()
setTimeout(a, 0)
a()
a()
a()
